package com.tanker.util.httpUtil;

/**
 * Created by wen.yan on 2015/6/16.
 */
public class DataResult {
    private String resCode;
    private String resMsg;
    private DataMap data;

    public boolean isSuccess() {
        return "000000".equals(resCode);
    }

    public String getResCode() {
        return resCode;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }

    public String getResMsg() {
        return resMsg;
    }

    public void setResMsg(String resMsg) {
        this.resMsg = resMsg;
    }

    public DataMap getData() {
        return data;
    }

    public void setData(DataMap data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "DataResult{" +
                "resCode='" + resCode + '\'' +
                ", resMsg='" + resMsg + '\'' +
                ", data=" + data +
                '}';
    }
}
